package ca.etsmtl.log210.controleurs;

import ca.etsmtl.log210.modeles.BonCommande;
import ca.etsmtl.log210.modeles.CarnetCommande;
import ca.etsmtl.log210.modeles.CommandLineItem;

public class CommandeAjouterBonCommande implements Commande{
	//Attributs
	private BonCommande bonCommande;
	private CarnetCommande carnet;
	
	public CommandeAjouterBonCommande(BonCommande b){
		bonCommande = b;
		carnet = CarnetCommande.retourneCarnet();
	}
	public boolean execute(){
		
		carnet.ajouterCommande(bonCommande);
		return true;
	}
}

